home *** CD-ROM | disk | FTP | other *** search
- /* $Id: XAPI.H 1.4 1995/09/19 22:56:52 JOHN Exp $ */
- #ifndef __XAPI__
- #define __XAPI__
-
- #define DolinkProc(pp) f##pp = (pp##Proc)LinkProc (#pp)
-
- typedef struct ExternalInstance {
- void *fSomething; //needed for C to consider as struct
- } ExternalInstance;
-
- #if defined(qPointersD0) && defined(__MWERKS__) && defined(qPowerPC)
- #pragma pointers_in_D0
- #endif
- typedef ExternalInstance *(*ExternComponentNewProc)(void);
- typedef ExternalInstance* (*ExternComponentCloneProc)(ExternalInstance *This);
- typedef void (*ExternComponentDeleteProc)(ExternalInstance *This);
- typedef short (*XCodeGetResIDProc)(ExternalInstance *This);
- typedef char* (*XCodeGetParamsBufferProc)(ExternalInstance *This);
- typedef void (*XCodeInvalProc)(ExternalInstance *This);
- typedef void (*XCodeHandleEventProc)(ExternalInstance *This, long source);
- typedef void (*XCodeSetTimeBasedProc)(ExternalInstance *This,void *timeBased);
- #if defined(qPointersD0) && defined(__MWERKS__) && defined(qPowerPC)
- #pragma pointers_in_A0
- #endif
-
-
- #endif
-